import 'package:get/get.dart';

class RecorddetailsState {
  // 基本信息
  final RxString title = '录音总结的标题'.obs;
  final RxString date = '2025/3/10'.obs;
  final RxString time = '17:00'.obs;
  final RxInt wordCount = 2356.obs;
  
  // 标签页
  final List<String> tabs = ['音频文稿', '智能总结', '待办事项'];
  final RxInt currentTabIndex = 0.obs;
  
  // 音频文稿
  final RxString transcript = '''音频内容xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'''.obs;
  
  // 智能总结
  final RxString summary = '''智能总结内容'''.obs;
  
  // 待办事项
  final RxList<String> todoItems = <String>[
    '待办事项1',
    '待办事项2',
    '待办事项3',
  ].obs;
  
  // 音频播放器
  final RxBool isPlaying = false.obs;
  final RxDouble currentPosition = 192.0.obs; // 3:12
  final RxDouble totalDuration = 343.0.obs; // 5:43
  final RxDouble playbackSpeed = 1.0.obs;
  final RxBool isFavorite = false.obs;

  RecorddetailsState() {
    ///Initialize variables
  }
}
